package com.job.common.reference;

import com.alibaba.fastjson.TypeReference;
import com.job.common.DTO.JobFlowDTO;
import com.job.common.DTO.JobInfoDTO;
import com.job.common.returnT.ReturnT;

import java.util.List;

/**
 * @author  songsong
 * @date  2022/12/19 17:37
 * @version 1.0
**/
public class TypeStore {

    public static final TypeReference<ReturnT<Void>> VOID_RESULT_TYPE = new TypeReference<ReturnT<Void>>(){};

    public static final TypeReference<ReturnT<Integer>> INTEGER_RESULT_TYPE = new TypeReference<ReturnT<Integer>>(){};

    public static final TypeReference<ReturnT<Long>> LONG_RESULT_TYPE = new TypeReference<ReturnT<Long>>(){};

    public static final TypeReference<ReturnT<String>> STRING_RESULT_TYPE = new TypeReference<ReturnT<String>>(){};

    public static final TypeReference<ReturnT<JobInfoDTO>> JOB_RESULT_TYPE = new TypeReference<ReturnT<JobInfoDTO>>(){};

    public static final TypeReference<ReturnT<List<JobInfoDTO>>> LIST_JOB_RESULT_TYPE = new TypeReference<ReturnT<List<JobInfoDTO>>>(){};


    public static final TypeReference<List<JobFlowDTO.edge>> LIST_JOB_FLOW_EDGE_TYPE = new TypeReference<List<JobFlowDTO.edge>>(){};
    public static final TypeReference<List<JobFlowDTO.node>> LIST_JOB_FLOW_NODE_TYPE = new TypeReference<List<JobFlowDTO.node>>(){};


}
